package cn.edu.hrbcu.es.invigilatemanagerment.service;

import cn.edu.hrbcu.es.invigilatemanagerment.pojo.Role;

import java.util.List;

public interface IRoleService {
    Integer insertRole(Role role);
    Integer deleteRoleByPrimaryId(Integer roleId);
    Integer updateRoleByPrimaryId(Role role);
    List<Role> queryRolesByIds(List<Integer> ids);
    List<Role> queryAllRole();

    Role queryRoleById(Integer id);

    int queryRoleCount();

    List<Role> queryRolesByPgae(int pageNow, int pageSize);
}
